package com.tangcco.lockwell.service.impl;

import com.tangcco.lockwell.domain.TranslateBackupsInfo;
import com.tangcco.lockwell.repository.TranslateBackupsInfoMapper;
import com.tangcco.lockwell.service.TranslateBackupsInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 文章翻备份信息
 *
 * @author yanxinping
 * @date 2025-01-03 15:48
 */
@Service
public class TranslateBackupsInfoServiceImpl implements TranslateBackupsInfoService {
    @Autowired
    private TranslateBackupsInfoMapper translateBackupsInfoMapper;

    @Override
    public int insertSelective(TranslateBackupsInfo record) {
        return translateBackupsInfoMapper.insertSelective(record);
    }

    @Override
    public TranslateBackupsInfo selectByArticleIdAndParagraph(Integer articleId, Integer index) {
        return translateBackupsInfoMapper.selectByArticleIdAndParagraph(articleId, index);
    }
}

